package com.settlement.system.service;

import com.settlement.system.common.result.Result;
import com.settlement.system.model.entity.SysBaseColumnMatch;
import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.form.BaseColumnForm;
import com.settlement.system.model.vo.TmBillConfigImportVo;

import java.util.List;

/**
 * <p>
 * 基础字段配置 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-09-20
 */
public interface SysBaseColumnMatchService extends IService<SysBaseColumnMatch> {

    String saveForm(BaseColumnForm baseColumnForm);

    boolean deleteMatch(String ids);

    List<SysBaseColumnMatch> getByPlatform(String platformKey);

    Result<String> check(String platformKey);

    void saveConfig(List<TmBillConfigImportVo> vos, String platformKey);

    List<SysBaseColumnMatch> getBusinessConfigListByPlatform(String platformKey, String billType);
    List<SysBaseColumnMatch> getAllConfigListByPlatform(String platformKey);
    List<SysBaseColumnMatch> getBusinessConfigListByPlatform(String platformKey);
}
